package com.example.hellomp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sp_goods")
public class Goods {
    @TableId(value = "goods_id",type = IdType.AUTO)
    private Long Id;
    @TableField(value = "goods_name")
    private String goodsName;
    @TableField(value = "goods_price")
    private Integer goodsPrice;
    @TableField(value = "goods_number")
    private Integer goodsNumber;
    @TableField(value = "goods_weight")
    private Integer goodsWeight;
    @TableField(value = "cat_id")
    private Integer catId;
    @TableField(value = "goods_introduce")
    private String goodsIntroduce;
    @TableField(value = "goods_big_logo")
    private String goodsBigLogo;
}
